package com.atguigu.gmall.model.list;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@Data
public class SearchAttr {

    @Field(type = FieldType.Long)
    private Long attrId;
    //不分词
    @Field(type = FieldType.Keyword)
    private String attrValue;
    //不分词
    @Field(type = FieldType.Keyword)
    private String attrName;
}
